package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesCouponUser;
import com.sl.mes.db.vo.MesCouponUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesCouponUserMapper {
    long countByExample(MesCouponUserExample example);

    int deleteByExample(MesCouponUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesCouponUser record);

    int insertSelective(MesCouponUser record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesCouponUser selectOneByExample(MesCouponUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesCouponUser selectOneByExampleSelective(@Param("example") MesCouponUserExample example, @Param("selective") MesCouponUser.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesCouponUser> selectByExampleSelective(@Param("example") MesCouponUserExample example, @Param("selective") MesCouponUser.Column ... selective);

    List<MesCouponUser> selectByExample(MesCouponUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesCouponUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesCouponUser.Column ... selective);

    MesCouponUser selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesCouponUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MesCouponUser record, @Param("example") MesCouponUserExample example);

    int updateByExample(@Param("record") MesCouponUser record, @Param("example") MesCouponUserExample example);

    int updateByPrimaryKeySelective(MesCouponUser record);

    int updateByPrimaryKey(MesCouponUser record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") MesCouponUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_coupon_user
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}